package September27;

import java.time.LocalDate;
import java.time.temporal.ChronoUnit;

public class DaysSinceDoomsday {
    public static void main(String[] args) {
        LocalDate doomsDay = LocalDate.of(2012, 12, 21);
        LocalDate today = LocalDate.now();
        long daysPassed = ChronoUnit.DAYS.between(doomsDay, today);
        System.out.println("从世界末日已经过去了 " + daysPassed + " 天。");
    }
}
